package networking;

import java.io.Serializable;
import java.util.ArrayList;


@SuppressWarnings("serial")
public class Response  implements Serializable
{

	private String[] scores;
	private String type;
	private String message;
	private ArrayList<SMap> maps;
	
	public Response (String m)
	{
		message = m;
		type = "message";
	}

	public Response(String[] s) 
	{
		scores = s;
		type = "High Scores";
	}
	
	public Response(ArrayList<SMap> m) 
	{
		maps = m;
		type = "Custom Maps";
	}
	
	public String getMessage()
	{
		return message;
	}
	public String[] getScores()
	{
		return scores;
	}
	
	public String getType()
	{
		return type;
	}


	public ArrayList<SMap> getMaps() 
	{
		return maps;
	}

}
